<HTML><HEAD><TITLE>ord_add_element(+Set1, +Element, -Set2)</TITLE>
</HEAD><BODY>[ <A HREF="index.html">library(ordset)</A> | <A HREF="../../index.html">Reference Manual</A> | <A HREF="../../fullindex.html">Alphabetic Index</A> ]
<H1>ord_add_element(+Set1, +Element, -Set2)</H1>
Adds an element to a set
<DL>
<DT><EM>Set1</EM></DT>
<DD>A set
</DD>
<DT><EM>Element</EM></DT>
<DD>A term
</DD>
<DT><EM>Set2</EM></DT>
<DD>A set or variable
</DD>
</DL>
<H2>Description</H2>
	Set2 is the set resulting from adding Element to Set1. It should
	give exactly the same result as merge(Set1, [Element], Set2).
	This is a synonym of ord_insert/3.
    
<H3>Modes and Determinism</H3><UL>
<LI>ord_add_element(+, +, -) is det
</UL>
<H2>See Also</H2>
<A HREF="../../lib/ordset/ord_insert-3.html">ord_insert / 3</A>
</BODY></HTML>
